<div class="panel panel-info">
	<div class="panel-heading">{{'policyData' | translate}}</div>
	<div class="panel-body">
		<form class="form-horizontal">
			<div class="form-group">
				<label class="col-sm-2 control-label" translate="Policy.company"></label>
				<div class="col-sm-3">
					<div company-field ng-model="policy.company" ng-disabled="config.disabled"></div>
				</div>
				<label class="col-sm-2 col-sm-offset-1 control-label" translate="Policy.subcompany"></label>
				<div class="col-sm-3">
					<div subcompany-field company-id="policy.company.id" ng-model="policy.subcompany" ng-disabled="config.disabled"></div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label" translate="Policy.agreement"></label>
				<div class="col-sm-9">
					<div agreement-field ng-model="policy.agreement" ng-disabled="config.disabled"></div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label" translate="Policy.filial"></label>
				<div class="col-sm-3">
					<input type="text" class="form-control" ng-model="policy.filial" ng-disabled="config.disabled">
				</div>
				<label class="col-sm-2 col-sm-offset-1 control-label" translate="Policy.network"></label>
				<div class="col-sm-3">
					<div network-field company-id="policy.company.id" subcompany-id="policy.subcompany.id" ng-model="policy.network" ng-disabled="config.disabled"></div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label" translate="Policy.number"></label>
				<div class="col-sm-3">
					<input type="text" class="form-control" ng-model="policy.number" ng-disabled="config.disabled">
				</div>
				<div ng-if="policy.status != null">
					<label class="col-sm-2 col-sm-offset-1 control-label" translate="Policy.state"></label>
					<div class="col-sm-3 top-5">
						<label class="label" ng-class="{'label-success' : policy.status == 'ACTIVE', 'label-danger' : policy.status == 'INACTIVE'}">{{'PolicyState.' + policy.status | translate}}</label>
					</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label" translate="Policy.cctapres"></label>
				<div class="col-sm-3">
					<input type="text" class="form-control" ng-model="policy.cctapres" ng-disabled="config.disabled">
				</div>
				<label class="col-sm-2 col-sm-offset-1 control-label" translate="Policy.emisionDate"></label>
				<div class="col-sm-3">
					<div calendar ng-model="policy.emissionDate" ng-disabled="config.disabled"></div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label" translate="Policy.vencimientoDate"></label>
				<div class="col-sm-3">
					<div calendar ng-model="policy.expirationDate" ng-disabled="config.disabled"></div>
				</div>
				<label class="col-sm-2 col-sm-offset-1 control-label" translate="Policy.efectoDate"></label>
				<div class="col-sm-3">
					<div calendar ng-model="policy.effectiveDate" ng-disabled="config.disabled"></div>
				</div>
			</div>
		</form>
	</div>
</div>